package com.ciko.code.http.Req;

import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

/**
 * Created by ciko on 2015/12/10.
 */
public class AddOverTimeFlowReq extends BaseRequest{

    public AddOverTimeFlowReq( String overTimeType, Long overTime, Long endTime, Double overTimeDays, String overReasom, String imgUrl, Integer nextUserId, String nextUserName) {

        init();
        put("overTimeType",overTimeType);
        put("overTime",overTime);
        put("endTime",endTime);
        put("overTimeDays",overTimeDays);
        put("overReasom",overReasom);
        put("imgUrl",imgUrl);
        put("nextUserId",nextUserId);
        put("nextUserName",nextUserName);
        putCid();
    }

    @Override
    public String getUrl() {
        return Api.addOverTimeFlow;
    }

    @Override
    public Class<?> getResponseClazz() {
        return AddOverTimeFlowRes.class;
    }
}
